package com.jinsi.service;

import com.jinsi.pojo.ScClassDocument;
import com.jinsi.pojo.ScClasses;
import com.jinsi.pojo.ScStudent;

import java.math.BigDecimal;
import java.util.Map;

public interface NewFeeService {


    /**
     *
     * @param id
     * @return ScClasses
     * 通过班级id查询学费
     */
    public ScClasses getClassById(Integer id);


    /**
     *
     * @param name
     * @return int
     * 通过市场部名称查询市场部id
     */
    public int getMarketingByName(String name);


    /**
     *
     * @param student
     * @throws Exception
     * 添加学生信息
     */
    public void addScStudent(ScStudent student) throws Exception;


    /**
     *
     * @param classDocument
     * @throws Exception
     * 添加单据分类信息
     */
    public void addScClassDocument(ScClassDocument classDocument) throws Exception;



    /**
     *
     * @param id
     * @param haveFees
     * @param documentWay
     * @return Map
     * 交钱
     */
    Map<String, Object> haveFee(int id, BigDecimal haveFees,int documentWay);
}
